// 头像上传
function handleUpload(req, res) {
    res.send({
        code: 1,
        path: req.file.path
        // message:'asdasasdasd'
    })
}


// 商品图片上传  

function handlegoodUpload(req, res) {
    res.send({
        code: 1,
        path: req.file.path
    })
}

module.exports = {
    handleUpload,
    handlegoodUpload
}